package com.kgc.itrip.biz.service.labeldic;


import com.kgc.itrip.beans.model.ItripLabelDic;
import com.kgc.itrip.beans.vo.ItripLabelDicVO;
import com.kgc.itrip.tuils.common.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by shang-pc on 2015/11/7.
 */
public interface ItripLabelDicService {

    public ItripLabelDic getItripLabelDicById(Long id) throws Exception;

    public List<ItripLabelDic> getItripLabelDicListByMap(Map<String, Object> param) throws Exception;

    public Integer getItripLabelDicCountByMap(Map<String, Object> param) throws Exception;

    public Integer itriptxAddItripLabelDic(ItripLabelDic itripLabelDic) throws Exception;

    public Integer itriptxModifyItripLabelDic(ItripLabelDic itripLabelDic) throws Exception;

    public Integer itriptxDeleteItripLabelDicById(Long id) throws Exception;

    public Page<ItripLabelDic> queryItripLabelDicPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    /**
     * 根据parentId查询数据字典
     *
     * @param parentId
     * @return
     * @throws Exception add by hanlu 2017-5-11
     */
    public List<ItripLabelDicVO> getItripLabelDicByParentId(Long parentId) throws Exception;

}
